package com.agritech.factory;

import com.agritech.machines.Seeder;

/**
 * 播种机工厂类
 */
public class SeederFactory implements MachineFactory {
    @Override
    public AgriculturalMachine createMachine(String id, String name) {
        Seeder seeder = new Seeder();
        seeder.setId(id);
        seeder.setName(name);
        return seeder;
    }
}